Skip to content

Conversation

@embik
Copy link
Member

@embik embik commented Jan 13, 2025

Summary

Some more advanced deployment scenarios for kcp-api-syncagent may require overriding the host and CA used in the REST config for the local Kubernetes cluster.

This can be the case when an OIDC trust exists between two clusters in which one cluster should run the syncagent, but another cluster is the control plane to which objects should be synced from kcp. In those situations, we want to reuse the token discovered from the container filesystem and talk to a different server which also accepts our token.

Related issue(s)

Fixes #

Release Notes

Add `--kubeconfig-host-override` and `--kubeconfig-ca-file-override` flags

@kcp-ci-bot kcp-ci-bot added release-note Denotes a PR that will be considered when it comes time to generate release notes. dco-signoff: yes Indicates the PR's author has signed the DCO. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Jan 13, 2025
@xrstf
Copy link
Contributor

xrstf commented Jan 13, 2025

/approve
/lgtm

@kcp-ci-bot kcp-ci-bot added the lgtm Indicates that a PR is ready to be merged. label Jan 13, 2025
@kcp-ci-bot
Copy link
Contributor

LGTM label has been added.

Git tree hash: 5dc3772043bb08232fa69f5dc9f547f32b02d2fc

@kcp-ci-bot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: xrstf

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@kcp-ci-bot kcp-ci-bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 13, 2025
@kcp-ci-bot kcp-ci-bot merged commit 4107481 into kcp-dev:main Jan 13, 2025
10 of 11 checks passed
@embik embik deleted the kubeconfig-override branch January 13, 2025 15:32
xrstf added a commit to kcp-dev/helm-charts that referenced this pull request Jan 13, 2025
xrstf added a commit to kcp-dev/helm-charts that referenced this pull request Jan 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. dco-signoff: yes Indicates the PR's author has signed the DCO. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants